import request from '@/utils/request.js'

export function getAssetList(data){
	return request({
		url:'/record/asset/my/list',
		method:'get',
		data:data
	})
}

export function addAsset(data){
	return request({
		url:'/record/asset',
		method:'post',
		data:data
	})
}

export function deleteAsset(data){
	return request({
		url:'/record/asset/'+data,
		method:'delete'
	})
}

export function getAsset(data){
	return request({
		url:'/record/asset/'+data,
		method:'get'
	})
}